package com.alone.mybatisplus.datascope.core.domain;

/**
 * @author Alone
 * @date 2022/6/27 2:24 下午
 */
public class NoHandleDataScope extends DataScope {

    public static final DataScope INSTANCE = new NoHandleDataScope();

    private NoHandleDataScope() {
        super(true);
    }

    @Override
    public boolean isAllowAll() {
        return true;
    }

    @Override
    public String getRenderedSql(String orgSql) {
        return orgSql;
    }

}
